package pl.kosmowska.ewelina.client.views.impl.beans;

import java.util.Date;

public class Installment{
	private int id;
	private float capital;
	private float interest;
	private Date date;

	public Installment(int i, float capital, float interest,
			Date currentDate) {
		this.id=i;
		this.capital=capital;
		this.interest=interest;
		this.date=currentDate;
	}
	public int getId() {
		return id;
	}
	public void setNumber(int id) {
		this.id = id;
	}
	public float getCapital() {
		return capital;
	}
	public void setCapital(float capital) {
		this.capital = capital;
	}
	public float getInterest() {
		return interest;
	}
	public void setInterest(float interest) {
		this.interest = interest;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
//	public OutcomeDataProxy getOutcomeDataProxy( String name, Date repeatEndDate) {
//		return presenter.getOutcomeDataProxy(name,repeatEndDate, date, -(capital+interest));
//
//	}
}